<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.appspot.etao.model.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page import="org.apache.jasper.tagplugins.jstl.ForEach"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>本地ShopCat数据列表</title>
<style type="text/css">
<!--
.STYLE3 {color: #FFFFFF; font-weight: bold; }
-->
</style>
</head>

<body>
<ul>
  <li>本地ShopCat数据列表如下</li>
</ul>
<table width="797" border="0" align="left">
  <tr>
    <td bgcolor="#000033"><span class="STYLE3">序号</span></td>
    <td bgcolor="#000033"><span class="STYLE3">类目编号</span></td>
    <td bgcolor="#000033"><span class="STYLE3">父类目编号</span></td>
    <td bgcolor="#000033"><span class="STYLE3">类目名称</span></td>
    <td bgcolor="#000033"><span class="STYLE3">是否为父类目</span></td>
  </tr>
  <%
      int i = 1;
      List<ShopCatModel> objList = (List<ShopCatModel>)request.getAttribute("shopCatList");
	  for (ShopCatModel obj : objList) {
  %>
		  <tr>
            <td><%=i++%></td>
            <td><%=obj.getCid()%></td>
            <td><%=obj.getParentCid()%></td>
            <td><%=obj.getName()%></td>
            <td><%=obj.getIsParent()%></td>
		  </tr>
  <%
	  }
  %>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<p>&nbsp; </p>
</body>
</html>

